package com.kcth.sylyg08.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
  *
  * @Package:        com.kcth.sylyg08.entity
  * @Description:    上报MES系统报告
  * @Author:         lenovo
  * @CreateDate:     2019/5/14 15:56
 */
@Entity
@Table(name = "t_syly_rfidreport")
public class RFIDReport implements Serializable {

    @Id
    private String requestUUID;
    /** 请求相关信息，与上报内容无关，用于断链重传 */
    private Long requestTime;
    /** 动作时间 */
    private Long actionTime;
    /** 阅读器IP */
    private String reader;
    /** 干预者 */
    private String intervener;
    /** 料框编号 */
    private String container;
    /** 相关任务编号 */
    private String taskId;
    /** 相关任务类型 */
    private TaskType taskType;
    /** 料框动作 */
    private String containerAction;
    /** 是否异常；true代表异常，false代表正常 */
    private Boolean isError;
    /** 料框状态 */
    private ContainerStatus containerStatus;
    /** 图号列表 */
    private String material;
    /** 数量 */
    private Integer count;

    public String getRequestUUID() {
        return requestUUID;
    }

    public void setRequestUUID(String requestUUID) {
        this.requestUUID = requestUUID;
    }

    public Long getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(Long requestTime) {
        this.requestTime = requestTime;
    }

    public Long getActionTime() {
        return actionTime;
    }

    public void setActionTime(Long actionTime) {
        this.actionTime = actionTime;
    }

    public String getReader() {
        return reader;
    }

    public void setReader(String reader) {
        this.reader = reader;
    }

    public String getIntervener() {
        return intervener;
    }

    public void setIntervener(String intervener) {
        this.intervener = intervener;
    }

    public String getContainer() {
        return container;
    }

    public void setContainer(String container) {
        this.container = container;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public TaskType getTaskType() {
        return taskType;
    }

    public void setTaskType(TaskType taskType) {
        this.taskType = taskType;
    }

    public String getContainerAction() {
        return containerAction;
    }

    public void setContainerAction(String containerAction) {
        this.containerAction = containerAction;
    }

    public Boolean getError() {
        return isError;
    }

    public void setError(Boolean error) {
        isError = error;
    }

    public ContainerStatus getContainerStatus() {
        return containerStatus;
    }

    public void setContainerStatus(ContainerStatus containerStatus) {
        this.containerStatus = containerStatus;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
